package com.rd.teacher.jichao.day27.other;

public class Test47 {

    //A. 4
    //B. 3
    //C. 2
    //D. 1
    public static String makinStrings() {
        String s = "Fred";
        s = s + "47";
        s = s.substring(2, 5);
        s = s.toUpperCase();
        System.out.println(s.length());
        System.out.println(s);
        return s.toString();
    }

    public static void main(String[] args) {
        makinStrings();
    }
}
